Using the sed script from https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
Also: - Changes scopes from serializer to use boolean columns - Fixes broken specs