make_json: correct work of function, add correct stub for data and correct render_tool function