Enable TimeSeries being initialized by Hash or Array
Refactor the spec for TimeSeries