app-core serializes recursively all embedded documents