Utilities to handle Mongoose Schema Definitions, to convert to JSON and vice versa