Started work on passing back JSON representing an edit to client, but with class:id entries like x.y.z:NEW replaced with the IDs actually created