abstract parse/serialize to utils