Deserializer is factory for the correct `Expansion` instance closes #24.