Put common stuff in util.
Skeleton implementation of ToJSON typeclass for wishes.