Avoid going through NSString to encode NSData from NSJSONSerialization