Added lines to represent coupling

Also fixed jsonparser bugs