This is a good resource to get more about GA: https://www.amazon.ca/Evolutionary-Optimization-Algorithms-Dan-Simon/dp/0470937416
The way of flattening the NN parameters is the way I mostly see.