aeson-modern-tojson (hackage): Provide a newtype to be used with DerivingVia to correctly derive ToJSON.  As simple as:
Keywords: json|library|text|web