build Json Configuration
Serializes DokkaConfiguration of this AbstractDokkaTask as json
Should be used for short-term debugging only, no guarantees are given for the support of this API.
Better alternative should be introduced as part of #2873.