IntelliJ project to serialise a list of country objects.