Without that, python do not accept UTF-8 even in comments.
'static-max' as read from xenstore is string, so needs to be converted to int. Additionally units needs to be adjusted (MB vs kB).