Modified jsonPointer to create an empty Array for new integer key

In the original behavior, setting an undefined value acts just same way as getting the current value (non-destructive). But it will act as 'unset' the same way as to set a null value (destructive) after merging this commit.