Rearrange JSON serialization dependencies to use NSJSONSerialization first. Fixes rare issue with jailbroken iphones