Added support for recursive resources and replacements
Updated Freshdesk definition to use nested resources