Change the json structure of a relationship again.