to_query_string for eligible models