add support for nesting embeddables
fix handling infinite nesting of embeddables
Fix wrong variable name
Merge pull request #1115 from armetiz/patch-1

Fix wrong variable name
Merge pull request #1105 from deeky666/nested-embeddables

Add support for nesting embeddables