throw an error when _serialize not properly set. prevents unhelpful error message when a CSV view is missing