check support in the event of returning a json.