It is finally possible to get data from a geomondrian database. 
Added JSONBuilder utility class.