Converted applications#index to jbuilder