modified boost::property_tree::json_parser in luascript.cpp