added example 'json' controller and view