improve testing by adding JSON validity testing for generated bower.json