Bugfix: readAttributes should return undefined if no data provided
Bugfix: readAttributes should return undefined if no data provided
Code style fix, to recover build
readAttributes will return array if data is empty
Merge pull request #40 from elasticio/bugfixes_lena

Bugfixes lena