fix call which return a set

Calls which return a Set break, because a set or list can't be converted to java Object, so it automatically becomes a list which gives conversion errors with Sets. A JsonNode can be converted to a list.