app-builder-lib patch fix: strip extra fields out that are not allowed when creating snap.yaml (#7104)