migrate to Jerey 2.9, and latest version of Metrics library which now has support for Jersey 2