Hi Javi,
Right now, the following transformations are used to transform SCXML to the model:
SCXML -> JsonML -> Annotated JsonML -> Model
The model is basically just the Annotated JsonML, but with state and transition ids converted to js object references, and with action code converted to js functions. The Annotated JsonML is serializable as json, but the model is not, due to the fact that these js references and functions are not json-serializable. This is by design.
Furthermore, these transformations are abstracted by the current API, so for example, if you use scion.urlToModel, the transformations are treated as internal data structures, so that the JsonML and Annotated JsonML are not exposed to the caller.
If you can provide me with more information on what you're trying to do, I may be able to offer more guidance.
Thanks,
Jake