Code review feedback for JS client custom JSON:
- Change use of "self" to "that" in JS client
- Added unit test to ensure custom JSON object is unique (not shared)
- Corrected places where it was not calling into the helper method