fixed check if enum value needs quotes in serializer, fixed type in protocol description
added instantiator expected tokens for type object
ignore BOM in instantiator