Fix decoding of json binary value