always use json in tests