Add print_r method to get around some Doctrine problems