should this not do an array_keys again? or otherwise change the method name to getAllAssociations or something?