Using live loader with two way edges

What I want to do

Use live loader to import data

What I did

I can connect to, and import the data to Dgraph but I can’t figure out how to get fields that have @hasinverse to relate properly.

using schema like

type Product {
    name: String!
    category: Category

type Category {
    name:  String!
    products: [Product] @hasinverse(field: "category")

and loading using the json format
      '': catgName,
      'Category.products':  ""
     '': productName,
     'Product.category': []