add mime type mapper and resolve term mention integration test