JsonRef: get rid of the "fragment" instance member

Nearly there.

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