Fixes issues with JSON decoding if BOM exists

Some bower.json have Byte Order Mark on them. For example, https://github.com/kbwood/countdown/