Add support for modelFnName on the model, which helps with deserialization of multi-level state machines