Feature/allow for payload

Allows to pass json encoded extra payload values (sent outside of the .aps)
this ternary doesn't really make sense since it's inside the conditional already.