Add a helper to translate nullable to option