allow booleanLiterals and nullLiterals as keys for object types