Make query return the internal Event class instead of the Protobuf generated class. When querying for metrics, a double will always be returned.