This is what I tried to do, but it gives me a warning:
HashMap<String, String>[] responseArray = new HashMap[games.size()];
See Question&Answers more detail:osType safety: The expression of type HashMap[ ] needs unchecked conversion to conform to HashMap[ ]