fixing resource object when saving
Merge pull request #3 from afraazali/bugfix/resource-object-hierarchy

fixing resource object when saving