Support to_hash on execution result so it can be more easily serialized to YAML