remove ' to process json string correctly