Added support for JMX. Filtered blank ids.