(GEP-214) Add preference setting for multiple defined dependencies

The report of dependencies that are defined more than once in the
metadata.json was not configurable. This commit adds the needed
preference.

This commit also changes the metadata.json parser so that it allows
null in place of string literals.