Separates value conversions from QueryListener to a separate class