def get_forms(data):
    """Takes a JSON data object and returns a list of its forms"""
    to_return = []
    forms = data.get('forms')
    if forms:
        for form in forms:
            form_value = form.get('form')
            if form_value != None:
                to_return.append(form_value)
    word = data.get('word')
    if word:
        to_return.append(word)
    return to_return