'This is used to ultimately *encode* into strict JSON, see `encode`'

def coerce_to_strict(self, const):

    if (const in ('Infinity', '-Infinity', 'NaN')):
        return None
    else:
        return const
