Removing unnecessary junk
Base64-encoding and -decoding works

Base64 encoding a decoding the params and return val serialization
fixes the stream corruption errors