add ord instance for Metadata