fixed bat interaction between jsonPointer and jsonReference resulting in
encoding errors