added support for models and parameters in `#/definitions` section

this is to address #107