First implementation for parsing Arrays