Simplify json rendering

Using JSEND standard: http://labs.omniti.com/labs/jsend