Rework p_array extension
Rework p_hash and switch to jenkins hash as a fallback hash

Rework to we avoid looping as much as possible, to a hash table