Idea for dealing with making json render for views

  - Would be nice if there is some automatic way that encapsulates all
    of these without having to code them up manually.