Turn cart keys back to JSON when updating global array.