swap quotes before and after stringify