switch to uuids for db keys, working well under resources