New version of jmx_query #much better