Fixed Bug in parsing problems

* Didn't parse json, and tests were passing in hashes instead of strings