JSON: fix scala 2.11 compilation
2.11 warnings hunt continues