structure for documents in mongodb created