Fixes #1677. Provide URLSerializer.

Without this json4s is unable to parse URLs.
Merge pull request #1680 from sbt/wip/fix-1677

Fixes #1677. Provide URLSerializer.