Unified the conversion api for Unit/Quantity.

14 jobs for 762-missing-wrong-constant-shifts-in-unitsdata-json in 29 minutes and 57 seconds (queued for 2 seconds)