force gid and deviceToken to be lowercase UUID