ensure binding.gyp is valid json
fix error message on binary test failure