Support outputting datetime.datetime objects in JSON.
JSON helper utility
Make API command work and support known strategies.