Commands with annotations and event payload deserialization

Change-Id: I3806ac363bb2ffc67b5ab72c1d3d61d9f478383f