I know John Cody's parents are James and Elizabeth. I have looked this up in the church records myself.
I would like to make sure that the John Cody you have been researching is the same John Cody I am looking for. On which document did he list Thomas and James for references? Was this his immigration or naturalization records? Are they available on ancestry.com?
Was John Cody a family member of yours?