json pointer base implementation