Adding encoding on the name and photos so that we can archive and unarchive it