All I can add - my DH has done this to several Singers, both external motor and potted motor styles. He's even taken some that both the cord and pedal are hardwired, and converted it to the 3 pin plug and the double lead plug.
Somewhere online he found the wiring diagram, but I don't recall where.