Forgot adding the implementation of json references and pointers.