handle null values as required by OData spec
handle dates and 64 bit integers