Refactor value <-> CFNumber conversions into some helper functions