fix forAction serialization

Signed-off-by: nigel <nigel.cook@hp.com>