Process a contract in its raw form (e.g. date fields are Dates, and Enums are numbers) and return a pure JSON object that can be posted to REST endpoint.
The object to serialize
The type info/metadata for the contract type being serialized
If true, don't modify the original object. False modifies the original object (the return value points to the data argument).
Process a contract in its raw form (e.g. date fields are Dates, and Enums are numbers) and return a pure JSON object that can be posted to REST endpoint.