add 'buffer' option to pass an ArrayBuffer as an alternative to 'filePath'
refactoring: use info variable for way.info
each Info entry is also optional