jbuilder teplate not being called correctly. trying to solve