Added isJson, cleaned up some comments, added hexdump