Add json info for injected elements so PHPUnit can scrape it