add read() method to NavigationParser that accepts InputStream and list of formats