I think the "order" line should go; it makes no sense in the context of JSON (which has no concept of order in dictionary keys).