Fixed bug which caused the wrong custom JSON attribute name to be overwritten on self-relationships in custom schema.
Merge branch 'develop' of github.com:structr/structr into develop