Enables JSON encoder to parse decimal objects