CMS-1973 - Changed JsonHelper class to rethrow exceptions properly.