Encode django QuerySets to lists and not dicts in JSONEncoder
Merge pull request #1360 from diox/fix-querysets-json-encoding

Encode django QuerySets to lists and not dicts in JSONEncoder