Moved json helper methods to testSupport package