generate JSON + localstorage + userChoice