Custom Provider for Rest module

Hey,

I’m using a Rest module in our plugin. I’ve created a custom Json serializer with @Provider annotation used. The problem is that sometimes it works, sometimes it doesn’t. After every atlas-mvn package it’s random that it’ll work. I have no idea what’s the problem and what to do with this issue. Looks like it doesn’t always use (or find?) my custom Provider.
Any idea?