Pretty print json and hex