Metadata directories config is assoc array

This without this change it blocks adding `directories` via `PrependExtensionInterface`.