Add a function to serialize datas from meta_data_t structure.