Adding a default sort to JSON