missing 'function' keyword ...

...for processFieldAsJson helper method