Convert to/from int keys to uuids in messaging