better django middleware support for versioning
prevent duplicate output with json flag

was printing two lines for every line
Merge pull request #3 from wonga00/patch-1

prevent duplicate output with json flag
bump version