Make datetimes timezone aware before serialising them. Fixes #10