export default function jsonFromScript(selector?: string, attribute?: string, scope?: HTMLElement): { [key: string]: any }