Lightweight helpers for views returning json data in Django