added toNativeValue method for JSON objects
added JSON pointer support