serialize formater