using literal_eval for number conversion (safer/more robust)