fixed a bug where null values without the surroundings of quotation marks were not correctly removed so the tool_state parameters were not parsed correctly