Add timestamp field for action; add tests for serialize / deserialize