Convert expirations to strings, to avoid surprises

.. and to conform to the README. Issue 45.