title: Unable to create web3js contract instance
body: <p>I have deployed a smart contract on metamask using Solidity Remix IDE. I have copied contarct's ABI from Remix and saved in a json file. Then I am creating a contract instance in nodejs using following code.</p>
  <pre><code>import * as jsonInterface from './../abi.json';
  var Contract = require('web3-eth-contract');
  Contract.setProvider(provider_address);
  console.log(typeof jsonInterface);
  console.log(jsonInterface);
  var contract = new Contract(jsonInterface, contract_address, { from: owner_address });
  </code></pre>
  <p>But I am getting &quot;Uncaught Error: You must provide the json interface of the contract when instantiating a contract object.&quot;.
  typeof jsonInterface prints out &quot;object&quot;.</p>
  <pre><code>console.log(jsonInterface) prints out entire ABI as Object
  </code></pre>
  <p>Just to be clear ABI does have [] around it as well.</p>