making featureInfobox work when we do not have a schema for a layer. Needed for an external module.