added support for hydrating associative arrays without losing the keys