database get now works. Returns JSON ready to be summed and then placed
into graph.