I have an application in which I create PDF reports from multiple sources of metrics and its results: each metric fills their respective PDF, pipe it to a b64 encode stream