result metadata is decoding properly