The output file is returning list of strings, which is causing error when using this module as a nested module. As the required type for the output value is expected as string. It would be helpful if the output contains string instead of list of strings.