Saves to mongoDB using GSON to build the document from an object instance