added alloc and init of array properties

Signed-off-by: Andreas Zöllner <andi@go-for-fun.de>