Usually, Java applications print logs of objects in a format similar to:
[Foo(bar=baz, baz=[a, b, c], doo={a=b, b=c})]
This is not a standardized approach (to my knowledge) and it's usually quite difficult to read for large objects or lists of objects being printed.
The grammar here is hopefully working for most use cases, but is most likely going to serve just as a starting point.