XML caused chef segfault, so kinda using regexp to avoid using libxml