Use Django's JSON encoder

Provides serialisation of:
 - datetime, date and time instances
 - Decimal instances.

(Implementation is [here](https://github.com/django/django/blob/7548aa8ffd46eb6e0f73730d1b2eb515ba581f95/django/core/serializers/json.py#L84))