Ensure data is an object during measure

Make the that the data is an object, otherwise it will throw
a non-assignable property error
build
bump