Fixes a bug in the safeguard for ID manipulation that failed if the Api response was an integer or a none-string
Fixes a bug in the safeguard for ID manipulation that failed if the Api response was an integer or a none-string

erkie/ApiModel,erkie/ApiModel