title: force json_encode to use same key for all values
body: <p>I have a php array like </p>
  
  <pre><code>array("Some Name","Some Othername")
  </code></pre>
  
  <p>i want to have a json object like this</p>
  
  <p>[{"value":"Some Name"},{"value":"Some Othername"}]</p>
  
  <p>what's the solution?!</p>