Fix #27 - correct csv export
Reworked hook system
Fix #34 - Array of objects to csv