for methods that return byte[] and Stream you could return binary as the content-type and support it in the client easily.