Question#as_json_with_elements_in_order returns the type as well.
Add API::RecordsController#ids_for_response.