Added metadata blobs support to PTSampler

- Uses numpy object arrays instead of lists
Added flatblob support
Bug-fix for blob object array creation.