BUGFIX: saving list with None to hdf5
Fixes issue #709 (closed) by implementing solution proposed by @colm.talbot.
After merge ebe10697, Bilby couldn't save the result to hdf5 file if it contained a list with None
inside (for example if one of the used priors was initiated without a name).