Fixed a circular reference while serializing, trying to serialize the
parent contanier.