Fix extension data being a forced empty map

Now extension data in module metadata can be used.  Previously any attempt to put a value in the map caused an exception.