SchemaExpander: use JsonPointer's .parent() method

Now that coreutils have it, there is no reason to have our own.