squash this commit to #2969 - put json back in ui controller
fixes #2985 - remove #as_json method from AR models since rabl views used for API
fixes #2986 - remove #show method from controllers and routes.rb when not used