Make purify.boolean case-insensitive so True and False are also cast to the right value