* split parser function for parsing arrays