Fix Data object support

Restler supplies a Data object, but it is improperly handled when writing to the stream.

1. Omission of an 'else' results in the metadata associated with the object not being written in the part header.
2. Omission of handling when writing the value results in "[Object object]" being written to the stream.

This corrects these two issues.