Ensure JsonNodes are ContainerNodes in AddOperation
Merge pull request #7 from lopopolo/add-op-class-cast-exception

Ensure JsonNodes are ContainerNodes in AddOperation

The existing code only checked the parent node of the target path but failed to account for the node itself not being a container node.