Resolving reference loops serialization. Blacklisting types.