Text this: An Optimized Framework for Energy Management of Multi-Microgrid Systems