correct a compilation problem on JSON parser