Metadata support and proper ordering for jsonstat conversion
Cube to jsonstat conversion