More conversions to json.