Update mostly everything to use UUIDs - this breaks most of the API. Note that this may be incomplete.