More resiliant serializing of contexts
Handle None values for django middleware response
Cleanup to django middleware