handle syntax errors, simplify common object types