Have you tried using PowerVRA? GitHub - jakkulabs/PowervRA: vRealize Automation PowerShell Toolkit
I have successfully exported content from one environment to another using this PowerShell/PowerCLI Module AND it does all the heavy lifting for you!
I had forgotten all about PowervRA. I grabbed it from the gallery and was able to use it to export and import my content. Thanks for the reminder!
FWIW i wrote up a blog that contains the script i used.