Fix #52: Remove BOM if exists

This checks if the returned JSON has Byte Order Mark, and removes it.