Enable to override default JSON encoder.