Board Thread:Wiki-Related Discussion/@comment-4771046-20141027114712/@comment-2153169-20141205061114

Officially, "John Doe is a placeholder name in a legal action, case or discussion for a party, whose true identity is unknown or must be withheld for legal reasons."

It is a name given to all men in this case, so there is no connection between ouat and star trek in this case. A lot of persons or characters could have received this name :)