It is good to see that you have provided useful helper methods with result.
to generate HTML,JSON.XML etc..
I am already getting good Table headings with *Model.MODEL.ID.as("Good
Title")* in my select queries.
result.formatHTML() will be more useful if you can give the options to set
ID and CLASS attribute values.
like..
result.formatHTML(String idValue,String classValue);
if values specified then generate HTML with it or else.. usual way ! :)
This will help in table styling at it's origin and for quick use as ajax
response without additional processing at service/controller layer.