Added in memory variants: useful for provided/system variants such as java/scala
Fixed issues related to rankIds for variant ids that were nested, which was believed fixed earlier :(