RavenDB-2348 Added metadata merging