Factoring json comparison helper methods out of SmartStoreTestCase