Moving Charts generation to its very own service
We plan for these to be usable by other part on the application, therfore we have to explicitly point to the relevant chart controller.
To avoid parsing problem with XML parser downstream, we need to scrap off DOCTYPE declaration like nodes.