serialize/deserialize long number