replace rails render with jbuilder, create index view