Help with Rest sensor for Cisco spa112

Hello;

I would like some help creating sensors for my voip gateway.

I have the following that does not work:

  - platform: rest
    resource: http://192.168.1.33/admin/status.xml
    # username: admin
    # password: admin
    # authentication: basic
    name: Hook State
    value_template: "{{ value_json.flat-status.Hook_State_1_ }}"
    json_attributes:
      - Hook_State_1_

This is the xml sample:

<flat-status>
<Hook_State_1_>On</Hook_State_1_>

I’m current seeing in the logs: REST result could not be parsed as JSON

I am lost, tried a lot, but maybe some kind soul may help me?