to_h to to_hash
formatting refactoring based on comments
fixing issue in media_type
response_headers into response_headers_decorator
refactoring transition_decorator and state: state creates ResponseHeaderDecorator obj