Flattening stuff some more
marklogic -> app