Retrieves data from mongo and outputs json doc