Actually I stayed... =D Now it works ! The sequence count was not incrementing. Now it is. Another problem was the id (type long) alone wasn't being successfully converted to Json by its own. So I decided to return the full sensor (containing the id) instead. And now it finally works !