JSONConverter has been refactored (all methods now use switch like construction)