URL-encode all params sent to internal hooks API