Deserializer for the subclasses of ReadablePeriod

This pull request allows to deserialize the subclasses of Readable Period