Control the order of properties in JSON via a lookup object - including nested properties.
github.com/develohpanda/json-order
develohpanda/json-order