making idempotency checks easy

@mikepea's suggested that idempotency checks easy if we can accept
dest_ip/ source_ip in  same format as API. This would help us avoid
tranlation back-forth