code: function serverResponseToRESPONSE (response) {
  	try {
  		const obj = JSON.parse(response);
  		if (obj.result === RESPONSE_UNKNOWN) {
  			return RESPONSE_UNKNOWN;
  		} else {
  			return obj.result.result;
  		}
  	} catch (e) {
  		return RESPONSE_INVALID;
  	}
  }
docs: /* response: raw response from server