static JsonNode renderObjectComponents(Map<ComponentId, ?> componentsById) {
        ArrayNode ret = jsonMapper.createArrayNode();

        for (Map.Entry<ComponentId, ?> componentEntry : componentsById.entrySet()) {
            JsonNode jc = renderComponent(componentEntry.getValue(), componentEntry.getKey());
            ret.add(jc);
        }
        return ret;
    }
@Test
    void object_components_are_rendered() {
        HashMap<ComponentId, Object> id2object = new HashMap<>();
        id2object.put(new ComponentId("myComponent"), new Object());

        String json = ApplicationStatusHandler.renderObjectComponents(id2object).toString();
        assertTrue(json.contains("myComponent"));
    }