Php Parse Comma Separated String To Array Python Initialize Dict