Change deprecated ObjectNode mehod put() to set()