ResultPath: "$.error": add error prop to the output:
Input: {foo: 'bar'} ->. output: {foo: 'bar', error: {...}}