Changes JSON with deleting vertex issues.

Now should be the correct JSON format!