Changed env.json to ignore keys which arn't strings or numbers
Changed env.json's sort to handle tables with mixed key types