Autoproxy support for json and serpent (marshal is impossible). Fixes #2.