serialize actions