function obj(inp) {
  if (typeof inp === 'String') {
    return JSON.stringify(JSON.parse('(' + inp + ')'));
  } else {
    return JSON.stringify(inp);
  }
}
This is the new testing file, as
the current one totally sucks.
eventually move all tests over to
this one.