Finalize json for users and repositories; add batch start to enums and fix element removal in enums/usergroups