Text this: A Riesz representation theorem for cone-valued functions