export function typeIt(json: Object): T { const typed = JSON.parse(JSON.stringify(json)) as { default: T }; return typed.default; }