admc/wd — pull request #185 by neonstalwart (2013-10-04 22:23:54+00:00)
Title: allow elements to be serialized for execute, etc

adding `element.prototype.toJSON` should allow for passing elements as args
to execute etc. as an example
https://code.google.com/p/selenium/wiki/JsonWireProtocol#/session/:sessionId/execute_async
explains how args can be a WebElement reference and this PR provides suitable
serialization to make this work.