Support reading dicts from environment.