Fixed issue with parser that was calling the wrong method

Parser class was calling the wrong method Format::getFormat