error-to-json

Returns a JSON representation of an error (handles nested errors and calls nested toJSONs)

json-order

Control the order of properties in JSON via a lookup object - including nested properties.