A simple JSON packer/unpacker for JS with hooks to allow custom packing/unpacking