Fix legacy metadata parser dependency