changed method for send values to template

Hi, I tryed do something like:
'theme_advanced_resizing' => true,
'theme_advanced_resizing_max_height' => 240

I expected:
theme_advanced_resizing : true,
theme_advanced_resizing_max_height : 240

but recieved:

theme_advanced_resizing : "1",
theme_advanced_resizing_max_height : "240"

These change mitigate this behavior.