Fixed double JSON parse in batch method that was causing batches to fail.