added drawing route according to the output JSON