making recipe id compare non-case specific, more jss work

One-liner change to be case-insensitive when checking recipe
identifiers, some cleanup and error handling for API calls to
troubleshoot recurring ‘Conflict’ error