Add basic support for arrays in interface

Signed-off-by: Michael Buesch <m@bues.ch>