Collapse $typeTag on structures into the resulting JSON object for RavenDB