The QueryRepresentation interface also includes DateValue objects in its value key. They consist of a value key with type string (+1789-07-14T00:00:00Z) and a precision key of type number.
Also adjust the query getter and other interfaces as needed.