Fetch file and convert JavaScript array into PHP array
one text
Solution:
Set all the variables into cookies.
document.cookie = "cars_Saab_Blue="+cars.Saab.Blue;
Do something similar (dpending on the situation) and set everything into 1 or more cookies.
Now by using $_COOKIE['cars_Saab_Blue'] you can get the cookie and use it wherever you want,