Add object id generation time spec
Move hex conversion into string