django JSON encoding handles datetime and decimal formats

I added the code from there into the security encoder