JSON: Add pointer : <p>I have an automatially made json that looks like:</p>

<pre><code>{
    "node_id_1": {
        "x": -87,
        "y": 149
    },
    "node_id_2": {
        "x": -24,
        "y": 50
    },
    "node_id_3": {
        "x": 55,
        "y": -32
    }
}
</code></pre>

<p>I have problems to access the a specific node_id to get its x and y values. My idea is to automatically add an <code>"id:"</code> before e.g. <code>"node_id_1"</code> and then to flatten the array.
Could you give me a hint how to add this <code>"id:"</code>? Or is there another elegant way to access the IDs?
Thank you a lot!
Best regards</p>
