Breaking middleware in two parts. First to initialize loopbackJsonSchema and enable a middleware to load loopback models and second to enable jsonschema support in rest api.
Simplify middleware exports.