Fix config generation for activations again...
Created by: thesps
The previous 'fix' for the config file generation created a new bug for some activation layers, since not all had 'activation' in their config dictionary. This fix first checks that that key exists before trying to access it.