fix(jcollectd): catching invalid datapoints and better escaping

Change-Id: Id2ba5e1cc6da30e5d8ce6607fda8149105a058e6
Merge pull request #639 from rtoma/jcollectd

fix(jcollectd): catching invalid datapoints and better escaping