JSON object

Switch from dictionary to JSON object. Still not returning it as JSON in
the HTTP response.