Local test looks good, pushing slightly tweaked version to task-15798-2 in my public repository and deploying on thecthulhu.com. It may take a week until all current details files are updated. Let's revisit in a week and see if there are any "flags":[""] left on thecthulhu.com. Note that torproject.org also had those in some cases. If this succeeds, I'll also deploy this branch on torproject.org and resolve this ticket.
The fix seems fine and should be part of the first release.
Agreed, pushed to master.
Also updated the documentation to say "May be omitted if empty." I checked current details files and didn't find a single entry with empty or omitted flags list.
Closing. Thanks!
Trac: Status: merge_ready to closed Resolution: N/Ato fixed