Aggregate consent PDF generation

I have two problems. @tilius, @slonka - can you take a look at the comments?
BTW @matips, thanks for the earlier fix ;)