Put the implicit function "queryToMapEntry" into a companion object to be "naturally" in scope.