try catch for parse JSON