Remove property/element alternation in complex JSON output

Description

The currently generated complex JSON mimics closely the GML output, generating structures that are bizarre to look at from a JSON standpoint, like the property/element alternation, with objects containing a single property containing another object, like "myProperty: {propertyType: {actualValues...}}}".
Recognize the structure and skip it when encoding complex GeoJSON.

Environment

None

Status

Assignee

Andrea Aime

Reporter

Andrea Aime

Triage

None

Fix versions

Affects versions

None

Components

Priority

Medium
Configure