returns json like a good little helper