Added JSON support, and a ByteArray fetcher in HXP.