Bug solved on PlaintextCommitment::toJSON