Naive implementation to json encode when object/array returned
Prevent errors from being hidden by ob in view
Merge branch 'master' of github.com:fixate/pw-boilerplate