tomchristie/django-rest-framework — pull request #1107 by dpretty (2013-09-13 03:53:10+00:00)
Title: Let JSONEncoder handle Numpy data types.

json.JSONEncoder cannot serialize Numpy data types. Numpy arrays
and array scalars have a tolist() method which casts the object to
a standard python data type.