Implemented XMLMessageFormatterBuilder in order to remove duplicated
code