Performance improvements when serialize/deserialize big data