what to do with tall, square fireplace opening?
Your idea is fine but the metal should be on the inside of the fireplace.  You may want to call manufacturer of insert first and ask if they suggest a mounting kit.  If not you can either build your own or have a local shop make one.  A perfect bracket would align with the mounting edges on the inside of your insert all the way around and you would screw into it.