Prepare Java8 custom enum & improve ResourceParam management