bugfix: exception messages must show type of parameter
normalize should convert object to array by fetching accessable values from object properties
fixed parser for single-quoted strings
enum can take an unlimited number of arguments
added implementation for code-rewrite for 'enum' template function