Use this to map vertex data which is array format to object format