Added helper for adding indexes and metadata to the portal_catalog