Hi Abdur,
If you are using this microflow as a sub microflow, then you should be able to return this variable as it is and without converting it into an object.
If you want to pass this variable to a Page or any other UI element, you will have to create it as an attribute in a entity and then pass that entity to the page/UI element.