Update: if there's no keys in some keygroup, takes {} as default