Pjsip show endpoints output

Hello, I want to parse all data in php available from “pjsip show endpoints” command however it looks like the output is designed to be readable more by human.
Is there any other way to collect such data with comma separeted values?

The CLI does not provide such a thing. AMI instead is made for machines.