Serialises this config into its canonical form (JSON). Can be loaded using Reader.fromJsonString afterwards.