Allow MosaicSource to be serialized. Closes #6