A few JSON lib fixes + Ghost plugin