title: How can format GPS data to json
body: <p>I have an message from MQTT which gives lat and long coordinates and I want to plot it on worldmap in node red.</p>
  
  <p>I am confused how to show marker  on map by lat long please help.</p>
  
  <p>I am using the worldmap in ui iframe which is given - under the menu (top right) - Import - Examples - Worldmap</p>
  
  <p>The co-ordinate is in node red debug tab and console look like this:</p>
  
  <pre><code>object
  topic: "location"
  payload: "1,18.392378,76.593338,284.8"
  qos: 0
  retain: false
  _msgid: "68d05896.c67388"
  </code></pre>
  
  <p>And in debug tab look:</p>
  
  <pre><code>location : msg.payload : string[27]
  "0,18.394644,76.592491,224.7"
  </code></pre>
  
  <p>I want to convert it like this </p>
  
  <pre><code>{name:"Art", lat:18.394606, lon:76.592514}
  </code></pre>
  
  <p>to show the maker in world map</p>