Implement array parsing