add self ix to outputs when serializing to message