Resolve JSON Pointers in Python