Fix JsonManipulator handling of package links, fixes #1465
Clarify usage of addcslashes