rework JSONParser, it works but additional work is needed