Prevent a NPE when the request contains a parameter with a null value

If one of the parameters from a request had a null value, the execution
was crashing with a NullPointerException.
The null value is now replaced by an empty string.

Also fix some logs

Fixes #30