More work on searchByName, controller displays raw data in browser