Fixed json serialization turning license into {}.
Merge pull request #1644 from sbt/wip/cached-resolution-bug

[0.13.7] Fixes json serialization turning license into {}.