Revert "Use an array to create the json pointer.".

60% slower....

This reverts commit d06ff84358a77ce6efa27ae5bdd52e3c12630cf0.
Using [] for array and hash is always faster.

Signed-off-by: François de Metz <francois@stormz.me>