Hello Pavel,
1. print server version to the output of pgbench. Now only client side version is printed
It is easy enough and makes sense. Maybe only if it differs from the client side version ?
2. can ve generate some output in structured format - XML, JSON ?
It is obviously possible, but that would mean some code. ISTM that the various outputs are easy enough to parse and convert to anything without needing a special format? Is there some particular part you have in mind?
-- Fabien.