Conversion of ObjectIds in Subarray to Strings

Take a look at this response to another thread from @turivishal.

I have not try it with your situation but I am pretty sure something based on the same logic can be used.

See How to rename a field name inside nested array? - #2 by turivishal