OK, lets start with this, by the eye the syntax looks right.
Try opening config file with nano. either by using unraid's terminal or docker console.
At line 20 (its the array with the 'swag'). check if there is any space after or anything out of the ordinary.
Try actually deleting the array block and rewriting manually. Save file and restart nextcloud. Try again occ status.
See if it spits any errors for the config file
PS. i just show you have some weird characters in the config. You have ’ instead of ' . I don't know which symbol is that, but i wouldn't see it in this font here. I copied to another editor.
So here is what i found. Fix those and you should be fine