Python script that converts json output to dxf file