change parsing of object strings to actual object