lib/json: document how to refine `accept_json_serializer` and make it protected