Fixes #144

My suggestion on how to handle array types (eg byte[])