fixed curies and added is_templated and media_type for link