adding basic support for index metadata