constructComponentProps = (returnObj) => {
  const output = {};
  output[returnObj.openingElement.name.name] = grabAttr(returnObj.openingElement.attributes)
  return output;
}
returns an Object with Component name and props from AST Object;
@param {Object} returnObj - AST object