Return accepted answer id

This code is also untested.
If the return value were None, how would it translate to the JSON output?