people class htmllist method should now work for any nested array