Export hook arguments as an array and display them properly

Formerly: #51 (can be closed)
Fixes #50