Engineering topological materials in microwave cavity arrays