Combine multiple JSONExceptions into one block of code