add env var conversion helpers [#79618086]

Signed-off-by: Johannes Petzold <jpetzold@pivotal.io>