Json xml

I;m not sure I did the internationalization correctly for the error message.   Please check.
Note that this pull request includes a change to the json library.

@afmckinney 
@jisqyv 
@josmas