Can't just do `type=json.loads` ?