iOS part to post json object