Problems with JSON and ByteArrays