Substituting environment variables on scripts and all JSON alike