json_api: Fix to work with foo_announce