Fixed compilation issue related to old usage of modified JSON library.