Cast user and item identifiers to strings