attempt stringify json to right format