Added support for arbitrary nested container serialization.