Added Java serialization util functions back in network/common/util/JavaUtils