newResponse returning failed shard responses

It looks like StreamOutput.writeGenericValues does not support custom objects.