Fixed gcov.c and list.c to produce valid JSON

functions list is now a list of objects, lc is a subdocument,
branch will be restructured later