JsonFragment: add one more check to .equals()

this == o was missing. And it happens often.

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