Ensure space IDs are strings for creation rather than unicode