add braces to object