add omit-cyclic-ref option while translating an object.

Do not translate object more than one time in the object graph to avoid stack overflow.