Get the metadata summary from a stored procedure.  This gives flexibilit...

...y in that the summary can be changed (in Postgres) without having to change the geoserver/plugin code.