Assert on loading command definitions.

Also fix an issue with the defaults configuration being polluted with a
quick json stringify/parse fix, really merge() should create new object
references so the original is not touched, although this really becomes
a copy and merge strategy.