ECLOUD-131: Introduced auto-insertion of identities into serialized JSON command based on resource path (to remove inconsistencies and redundant identities)