Added gem info, fixed JSON generation, added linkcount to nodes and field names to links