Extract documentation from JSON string