Issue #1402880 by bojanz, pcambra: Use a generic way of fetching results, instead of hardcoding field_alias provided by the default query plugin.