@Test
public void shouldOmitProperties() {

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