fixed post to JSON.stringify before sending data