[Swift] Mitigate most JSON double precision issues