Ensure all function calls use the working decode_json call