add function to register WARC metadata