Added JSON conversion of test data