Ruby driver: convert time values in json results

Review 1059 by @mlucy
Issue #1719