Updated the show board function to actually return Json