Surveys might need slightly different parsing if a data frame result is expected. It might also make sense to just return the json.