Fixed common utils to work with OSGi. Removed old json library from dependecies.