Don't wrap groups_dto in object, just send it as an array.