it works! only for hardcoded package names, though. now only outputs what we need. And now valid json object, to boot.:D