Sort keys to reduce json churn