Fix activity service payload generation

null became "null" when decoding the url looking for ids