Use a dict for the API timestamp record

- Removed the tuple, and made a dedicated (private) setter method.
- All tests updated.