changed Blob.from_struct parameter blob to be optional and added simple example