XmlMappingType.Hidden ignored for JSON output in API

Let’s continue this part under Separate XmlMappingType.Hidden to a new attribute only.