fixed boolean values stripped by wp_localize_script