refactor fields exclusions for swagger