Can we somehow write a JSON string in html data tag attribute?
Then process it in javascript to parse as a normal JSON object.
Example:
HTML
<select class="field" data-select="{"firstname":"Jesper","surname":"Aaberg","phone":["555-0100","555-0120"]}"></select>
JS
var obj = JSON.parse($('form').find('select').attr('data-select'));
Solution using single quotes:
<select class="field" data-select='{"firstname":"Jesper","surname":"Aaberg","phone":["555-0100","555-0120"]}'></select>