serialize/unserialize data with golang