Update grappelli/views/related.py

Using standard json library