Modified the view to return proper formatted json so the Angular
app doesn't break.