(rasqal_query_results_formatter_read): Refactor to use switch