Improve serialization of LightData
If a source is defined, the light data is stored relative inefficiently.. This particular applies to LightData::Geometric, where each ray is stored even it could be easily setup (i.e. for hexapolar beams....). It becomes extremely inefficient if many random beams are stored (e.g. 10.000 beams)...