Added generic exception catch for json validator