throw error in serialization when content element is array - this leads to anomalies because of mixing array content with structure content