OK, I know how to yank links now I need to figure out how to pull forms and their elements in a way that will return a JSON form object.
EOW commit.