Upon executing the attached script, the Master entity is generated without any fields(only a ONE_TO_MANY relationship Set). You will notice that the conversion service ITD, for the controller, does not setup a converter for the entity.
In attempting to fix the problem, I add a string field to the entity via an editor (say STS). Still no converter.
Finally, adding a field via the shell (e.g. field string --fieldName dummy) and all is well.