added more informations about mongodb queries.
added a pre-structure to json.