make RefResolver class for resolving json pointers