iterate over pair of const string and Json
add pretty printing
VS12 compatibility fix