remove some cruft from early passes at dictionary serialization
allocationless dictionary serialization, when possible
explicit test for serializing IDictionary