first pass at refactoring buildTimeObjectFromData