working mets ingester, with support for in-progress and media resource replace