Test for serializing strongly typed document with nested dictionaries.