Switch check_survey_assignment retval to JSON