tests for .env.json files, README updates

adds handling of .json env files + test coverage and readme updates