Various tweaks

* Destruct all the consumers (consumer could be an array of objects, was being treated as an object)
* Add defaultProperties option
* Change user_id to userId
* Refactor the removal of secret