Change to support environment variables setting from custom json

Signed-off-by: Ryan Benoit <rdbenoit@me.com>