I think you should set a reference object for the parent property, e.g. `child.get('_reference').parent = parentRecord.get('_reference')`