Cube "specification" method and ordered dicts

The ordered dicts just to keep the JSON nicer. If we'd want
performance, we wouldn't be using this anyhow