Moved string conversions to utils