REST - Jackson fails to convert JSON to Map<String, Object>

I made a REST request to the engine, passing a JSON object but I noticed that a Map<String, Object> target variable was evaluated to null. I made sure to provide all the necessary annotations (@Path, @Consumes etc), but I may have missed something. What could be the problem?