Added additional error catching

Added json.contains call to see if user's text message is ill-formatted.