Fixed only _id's being created and data not being inserted into mongo