splited the metadata implementation from the counterparties