Doing booksIndex the right way with jbuilder.