Use jbuilder for json logic

Moving logic that should be in the view layer out of the `ExpensesDatatable` and into a jbuilder template