fix the match statement compiler warnings in the json project.