unexpectedChangesets command not working as expected (API)

CommandScope unexpectedChangets doesn’t return the result in a Object; It is just printed on the screen. Liquibase 4.31.0

I think this is a defect because the status command actually returns the result in a machine readable form.

This can create compatibility issues in case of message changing.

Thank you