Convert an object to objective-c literal