don't use `JsonProvider.getPropertyKeys(Object)` to query a list/array's indexes

`JsonProvider.getPropertyKeys(Object)` will only be used with maps/objects.