Print json in test