added code to help loading test data for sample.json