Something like an inline HTML & XML markup (like iXBRL[0]) would be appropriate for this - both machine and human readable, and formatted.
[0] iXBRL is a markup language used for company accounts (I think it might be a requirement for submitting company accounts in the UK). Details: https://en.wikipedia.org/wiki/XBRL Example: http://www.xbrl.org.uk/techguidance/bbbbb-ltd.html