Type cast username to string in Synchronization spec.