Initialise untyped arrays with zeroes.

Fixes #98.
Merge branch 'fix-untyped'
Added component.json and fixed codegen to be component friendly