Added default json controller attribute.