Create JSON parsing method (partial commit)