Try catch for JSON parsing of request body