Fix error handling
Strip BOM characters from downloaded JSON. Fixes Bug#960618
Merge pull request #36 from mozilla/bug-960618-BOM-handling

Bug 960618 bom handling