JsonNodeEquivalence: shorthand for empty container nodes

No need to go over the trouble of iterating over empty containers, just return
the base hashcode in this case.

Signed-off-by: Francis Galiegue <fgaliegue@gmail.com>