fixing bug in interpreting instance sizes of emr json