Refactored getting field info - replaced metadata field-specific functions with url->field