Adding documentation around casting the result to an associative array