Encode any errors we get from twitter to ensure we can handle weird arrays