Fix a bug where we missed the index metadata in the transformer. We should have there the index's metadata in addition to the parent document one
Add logging for database starting/started and shutdown a database start and end