Added spec_from_mongoose_schema

To convert a Mongoose schema back to the spec object that was used to create it