use Chef::JSONCompat.parse for file_contents #2433

PR for #2433 and https://github.com/opscode/chef-zero/issues/99

HT: @cl-lab-k