Fix json dependency that was breaking curses build.