Convert array to a hashmap during Jackson mapping, with each entry key being the entrie’s id field This is the JSON I’m working on: