add json decoding and file reading.

Started working on Type inference from chef json/ruby data. YAR DRAGONS!