Add permission to repository response.
Don't omitempty for Repository.Private
Merge branch 'remove_omitempty_private'