Fixed issue #7629: Fatal error on unexpected key/data when using RPC function add_response