return $xsltProcessor;
   }
 
-  private function json_to_xml($json, $rootName) {
+  private function json_to_xml($json, $root_node_name) {
     // Apparenty the ObjectNormalizer used afterwards is not able to handle
     // the stdClass object created by json_decode() with the default setting
     // $assoc = false; so use $assoc = true 
     $serializer_options = array (
       'xml_encoding' => "UTF-8",
       'xml_format_output' => TRUE,
-      'xml_root_node_name' => $rootName,
+      'xml_root_node_name' => $root_node_name,
     );
 
     $xml_data = $serializer->serialize($data, 'xml', $serializer_options);