def get_embedded_categories(embedded):
    """Returns the categories in the embedded response from wp
    The category is in the first object of the wp:term of the response:
    embedded["wp:term"][0]


    :param embedded: The embedded dictionnary in teh response
    :returns: Dictionnary of categories
    """
    terms = embedded.get('wp:term', [{}])
    return terms[0]
