Handle removing null terminator in stmt.getData

Move the null terminator check to ConvertToJS
Stitch long strings in testDAEInputParameter