edgar - adding json support to all controllers and views