fixes #7158 - environments are now inside of the "results" hash, BZ 1131618