Comment Comment by maffydub Have you tried floki (https://github.com/Metaswitch/floki) - this is what we use to solve this problem. parent maffydub 3 years ago