Update resources.py

fix for dehydrate() got an unexpected keyword argument 'for_list'.

Fixes #930.