@Test
public void shouldOmitProperties() throws RepositoryException {

    String result = new JsonNodeSerializer().serialize(node);
    assertThat(result)
            .as("Auto created properties should not be used for serialization")
            .doesNotContain("jcr:created");
}