Contains some utilities mostly useful internally, but may be used in other places a well.
Deserialize helper to support double option types.