Add quotes to object key in util function