Serialize repl in url

Hacked this together while waiting on some stuff. Super dirty code.