Fixed a bug regarding creating and reading observers.

When an observer's stream was being created, the optinoal metadata definitions were not being saved appropriately. Likewise, when an observer's definition was read, the stream's metadata definitions were not being correctly returned. This has been fixed.