[TASK] Add unit tests for JSON ViewHelper