fix issue with network record serialization != database record serialization.
fix  network serialization: csv db to binary network.