wip(engine): add task query to json converter

related to #CAM-2628