Patch to also include JSON array elements into automatic recognition