Add function for generating vega mark properties