convert toMap usage to parser method calls