fixed NPE with missing Content-Type header
added unit for measurement values (closes #27)
Merge branch 'dev'

* dev:
  added unit for measurement values (closes #27)
  fixed NPE with missing Content-Type header