fix primitive handling

boolean[] is now converted as:
- boolean[].class
- <..., boolean[], ...]
boolean is now converted as:
- boolean.class
- <..., Boolean, ...]