Further refactoring, combining Period/ReadablePeriod deserializers