PHP's var_dump equivalent function for Python