Reverted back to jQuery over Zepto due to incompatibilities with pretty-json.
Parse logged data as JSON.
Print lone primitives as leaf nodes.