better secrets.json compile when environment is pinned.