Avoiding XML while creating custom related lists

Avoiding XML while creating custom related lists

Is there a way of defining custom related lists that does not require you to format them in XML as documented here? It appears in Zoho Books you are able to define these in the way you would expect (i.e. by just supplying the row data as a list of maps along with another for column settings) but CRM requires that custom related list functions return a string.