use jbuilder for json response in transaction#index