Exporting Entire Collection Hierarchy as FBX/OBJ

Hello everyone! Got another question for you. I need to export my scene and I used fbx format for this. But when I'm importing the file into another program (in this case Maya) my hierarchy is horrible because the collections I had made in blender were not included (I think) in exported file (fbx). So I have a lot of objects and there is no order in my outliner. Is there a way to export the scene including collections?