I have parsed a JASN file using Javascript and I am printing it as a table in my browser. I need to show only `firstname`, `lastname` and the address fields in this case (in both the header and column).

How can I do that?

```js
var header_list = []
var json_key = []
var table = document.createElement("table")
var trow = document.createElement("tr")
table.appendChild(trow)

var data
var header_name

function loadJSON(path, success, error) {
  var xhr = new XMLHttpRequest();
  xhr.onreadystatechange = function() {
    if (xhr.readyState === XMLHttpRequest.DONE) {
      if (xhr.status === 200) {
        if (success)
          success(JSON.parse(xhr.responseText));
      } else {
        if (error)
          error(xhr);
      }
    }
  };
  xhr.open("GET", path, true);
  xhr.send();
}

function table_header(header_name) {

  var th = document.createElement("th")
  trow.appendChild(th)
  var header = document.createTextNode(header_name)
  th.appendChild(header)

  document.getElementById("jsonTable").appendChild(trow)

  header_list.push(header_name)

}

loadJSON("person.json", function(data) {

    table_header("FirstName")

    table_header("LastName")

    table_header("Age")

    table_header("Address")

    table_header("PhoneNumber")

    for (var i = 0; i < header_list.length; i++) {
      var tr = document.createElement("tr")
      table.appendChild(tr)

      for (index in data[i]) {
        json_key.push(index)
        keys = Object.keys(data[0])

        var td = document.createElement("td")
        tr.appendChild(td)

        data_json = document.createTextNode(JSON.stringify(data[i][index]))

        td.appendChild(data_json)

        document.getElementById("jsonTable").appendChild(tr)
      }
    }

  },
  function(xhr) {
    console.error(xhr);
  }
);

person.json

  [{
    "First Name": "John",
    "lastName": "Smith",
    "age": 25,
    "address": {
      "streetAddress": "21 2nd Street",
      "city": "New York",
      "state": "NY",
      "postalCode": "10021"
    },
    "phoneNumber": [{
      "type": "home",
      "number": "212 555-1234"
    }, {
      "type": "fax",
      "number": "646 555-4567"
    }],
    "date of birth": "28 dec 2000"

  }

]
```

```html
<!DOCTYPE html>
<html>

<head>
  <title></title>
</head>

<body>
  <div>
    <table border="2" cellpadding="10" id="jsonTable" style="border-collapse: collapse;">
    </table>
  </div>
</body>

</html>
```