Json input and ref output for testing