The intention of the current code is to detect a pointer-to-const but instead it is detecting a const-pointer. See #134
STL iterators used by json::iterator don't pass this test in Debug mode. The test does pass in Release mode, so I felt the best thing to do was selectively disable that test.
It doesn't really make sense to stream an iterator. Besides, this was causing trouble in MSVC in Debug mode (see #125)