Add JSONiq mode.
Merge pull request #1365 from  wcandillon/master
Add JSONiq mode