Added functions to convert AtomID from and to frontend and backend requests