A wrapper around NSJSONSerialization that provides a simpler API.