stop config from adding empty arrays into type mappings

Fix for #561

There may be other fields affected by this - I'm not sure, though.  If so, we should be able to just add them into the array of fields being scanned in each section.