Change global_registry_id to strings in all the tables