ME: refactored 'get_date' and added 'last_modified_header' and 'merge_dicts' functions
ME: refactored code; implemented 'last_modified_header', 'get_date' and 'merge_dicts' functions is viewsets