Ensure that decode_json gets bytes, like it expects