Fix for "Invalid field 'params'"

Easy, but effective - element 1 in the params field is the message itself.
Fixes #26