CA-96872: Fix marshalling of exceptions

Api_errors are of type string * string list, but they are actually
marshalled as just a string list

Signed-off-by: Jon Ludlam <jonathan.ludlam@eu.citrix.com>
Merge pull request #968 from jonludlam/CA-96872

CA-96872: Fix marshalling of exceptions