JsonFragment: get rid of EMPTY, add .isPointer()

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