Fix index error for some types of meters
Add timestamp fix I previously forgot to port over

* Riemann wants an int/long timestamp, not a float.
  Ported over fix from internal POC copy.