able to query json for environment