Properly merge nested wildcard properties