dumping back from json to basestring is unnecessary