address github reversing states array
Sort the list of statuses. Fixes #41
Revert "Remove json references", as it's needed for tests

This reverts commit 727a021a41acac5516a9bf367b0ec81c5baa63e1.
Revert "Remove JSON dependency", so tests pass on multiple platforms

This reverts commit 303a051a59c567cd1cace3e7c439373f03c3f556.