Readded generics to JolokiaService. Seems to work now.