Fixes syntax errors in resource definition files.

There were a few syntax errors in the latest updates when I tried to use them.

Getting in to the habit of leaving a trailing comma on the last element of an array makes most of these easier to avoid.