serialize application