Fix ModelDefinition toJSON bug
Merge pull request #227 from fabien/fix/definition-tojson

Fix ModelDefinition toJSON bug