Fix error messages, should be lowercase
Reset json when building model definition
Merge pull request #267 from fabien/fix/tiny

Fix error messages, should be lowercase