Assuming payload is an Env object here, you'll either need to access these keys as strings, or use the built in getters.