NOTE: One downside of this approach is that you need to maintain one additional spot in your code; in case you want to add another (list wrapper) class to your REST interface, you need to remember to go to above code and add that class in your ContextResolver...