fix the match statement compiler warnings in the json project.
Merge pull request #117 from rpless/fix-compiler-warnings

Fix 2.11 compiler warnings