title: Seeking Javascript JSON minimizer to work with dynamodb
body: <p>I have survey data which needs to work in two languages and will reside in a dynamodb table.  The stored objects will contain many categoricals and I would like to make the storage as efficient as possible and not in a specific language.</p>
  <p>Given the foreign key array:
  [&quot;Religious&quot;, &quot;Atheist&quot;, &quot;other&quot;]</p>
  <p>I want to decode the object
  {yourfriendsare:[1,3]}</p>
  <p>to be:
  {yourfriendsare:[&quot;Religious&quot;, &quot;Other&quot;]}</p>
  <p>It needs to encode &amp; decode deeply nested keys/arrays.
  I would just give it paths (with wildcards) to the categoricals and an en/decoding array or similar.</p>
  <p>I couldn't find what I was looking for on github/NPM (probably not using the correct terms) so before I wrote an encoder/decoder I wanted to ask here if such a lib already exists.</p>
  <p>Bonus points if it can minimize key names too.</p>
  <p>Any suggestions appreciated.</p>