[TASK] Handle array type as string for ES mapping

Hotfix to allow array properties to be indexed.