How to succesfully convert a TS3 object with multiple groups