Hi!
meta_value
is serialized, but when you call get_post_meta
assuming that you have an ID of the object (order) for the key you want, you will get returned array.
Now all you have to do is to return value from that array, what would be like:
$payment_meta = get_post_meta( $ID, '_op_payment_methods' );
return $payment_meta['ref'];