added profiling and performance spec for serialization. added singularization cache which improves serialization performance by 20-30%