Goliath powered api for persisting data in Mongo