Send back results value as json object for retrieving data over range of time or dates