title: Rest API best practice returning a single string vs wrap it in JSON object?
body: <p>I have an endpoint that can return one of several states, e.g. 'Active', 'Cancelled' etc.</p>
  <p>Is it bad practice to just return this as a string in the response, like:</p>
  <pre><code>&quot;Active&quot;
  </code></pre>
  <p>or should I wrap it in a JSON object, like:</p>
  <pre><code>{
      &quot;status&quot;: &quot;Active&quot;
  }
  </code></pre>